<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>接口测试</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="/res/layui/css/layui.css"  media="all">
    <link rel="stylesheet" href="/res/css/style.css" media="all">
</head>
<style>
  #term{
    margin-top:10px;
    width:450px;
    height:100%;
    float:left;
    overflow: auto;
  }
  #Return{
   margin-top:10px;
    width:50%;
    height:100%;
    float:left;
    margin-left:10px;
    overflow: hidden;
  }
  #resultMsg{
    overflow: auto;
    height:100%;
    padding:20px auto;
  }
  .butdemo{
   width:100%;
   text-align:center
  }
 .layui-breadcrumb {  
   display: block;
   }
  .titledata{
   height:40px;
   line-height:40px;
   border-bottom:1px solid #d6d4d4;
  } 
</style>
<body>
<div class="layui-fluid" style="padding-top:10px;">
    <!-- 导航 -->
    <span class="layui-breadcrumb">
            <a href="home.html">首页</a>
            <a><cite>接口测试</cite></a>
    </span>
    <!-- 查询条件 -->
    <blockquote class="layui-elem-quote layui-quote-nm" id="term">
        <form class="layui-form" action="javascript:;" id="query_condition">
            <div class="layui-form-item" style="margin-bottom:0;">
                <div class="layui-inline" style="width:100%">
                    <div >
                        <div class="layui-form-item">
                            <label class='layui-form-label mr_8'>接口</label>
                            <div class='layui-input-inline' style="width:300px">
                                <input type='text' id='methodPath'  name='methodPath' autocomplete='on' class='layui-input' />
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class='layui-form-label mr_8'>上传文件</label>
                            <div class='layui-input-inline' style="width:300px">
                                <input type='file' id='myFile'  name='myFile' class='layui-input' />
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class='layui-form-label mr_8'>接口参数</label>
                            <div class='layui-input-inline' style="width:300px">
                                <textarea id="reqData" style="height:200px" name="reqData" placeholder="请输入接口参数" class="layui-textarea"></textarea>
                            </div>
                        </div>
                    </div>
                    <div class="layui-inline butdemo">
                        <div class="layui-input-inline" style="width:100%; text-align:center">
                            <button class="layui-btn layui-btn-normal" onclick="noParamInterface()">无参</button>
                            <button class="layui-btn layui-btn-normal" onclick="Interface()">有参</button>
                            <button class="layui-btn layui-btn-normal" onclick="Upload()">上传文件</button>
                            <button class="layui-btn layui-btn-normal" onclick="download()">下载</button>
                            <button class="layui-btn layui-btn-normal" onclick="getIp()">文件预览</button>
                        </div>
                         </div>
                         <div class="layui-inline butdemo">
                         <div class="layui-input-inline" style="width:100%; text-align:center">
                         <button class="layui-btn layui-btn-normal" onclick="redisKeys()">所有key值</button>
                          <button class="layui-btn layui-btn-normal" onclick="redisKeySelect()"> key值查看</button>
                          <button class="layui-btn layui-btn-normal" onclick="redisKeyUpdate()"> key值修改</button>
                          <button class="layui-btn layui-btn-normal" onclick="redisKeySave()"> key添加</button>
                          <button class="layui-btn layui-btn-normal" onclick="redisKeyDelete()"> key删除</button>
                         </div>
                          </div>
                    </div>
                </div>
            </div>
        </form>
    </blockquote>
    <blockquote class="layui-elem-quote layui-quote-nm" id="Return">
        <form class="layui-form" action="javascript:;" >
            <div class="titledata">返回数据：<button class="layui-btn layui-btn-normal" onclick="clean()">清空</button></div>
            <div id="resultMsg" ></div>
        </form>
    </blockquote>
</div>
<script type="text/javascript" src="/res/js/common/jquery-3.2.1.min.js"></script>
<script src="/res/layui/layui.js"></script>
<script src="/res/js/test/app.js"></script>
<script src="/res/js/test/test.js"></script>
</body>
</html>